<div class="commTd2" colspan="2">$ERROR$</div>
<?if($SECURITY_CODE$)?><div id="sereg_c" style="display:none"><div id="dsdsa_c">$SECURITY_CODE$</div></div><?endif?>
<div class="materials_sso">
<div class="add_comments">
<div class="kms">
<img src="/img/no_ava.png" width="50" class="ava_taroComm" /><br />
<span id="USname"></span>
</div>
<div class="ie">
<div class="form_add">
<textarea class="add_comm_j" name="message"></textarea>
<input type="submit" class="commSbmFl" id="addcBut" name="submit" style="display:none" value="-   -">
<a href="javascript://" onclick="capucher_c();" style="float:right;margin:7px 7px 0 0;font: 11px Tahoma; color:#45688e;"></a>
<div style="padding:7px; margin-left:10;">
<img src="/img/chat/text_bold.png" id="b" class="south" title="" onclick="simpletag('b','','','message','')"/>
<img src="/img/chat/text_italic.png" id="i"class="south" title="" onclick="simpletag('i','','','message','')"/>
<img src="/img/chat/text_underline.png" id="u" class="south" title="" onclick="simpletag('u','','','message','')"/>
<img src="/img/chat/link_add.png" id="url" class="south" title=" " onclick="tag_url('message','')"/>
<img src="/img/chat/image_add.png" id="img" class="south" title=" " onclick="tag_image('message','')"/>
<img src="/img/chat/comment_add.png" id="quote" class="south" title=" " onclick="simpletag('quote','','','message','')"/>
<img src="/img/chat/lock_add.png" id="hide" class="south" title="  " onclick="simpletag('hide','','','message','')"/>
</div>
</div>
</div>
</div>
</div>
<!-- </     > -->
<script type="text/javascript">
var ssiDf = _uButton(null, 'button',{text: '',content: 'onclick="capucher_dd_c()"'});
function capucher_c(){
$('#secuImgC').click();
 new _uWnd('cappae','-',285,110,{
 autosize:0,resize:0,notaskbar:1,fadetype:2,fadespeed:500,fadeclosetype:1,fadeclosespeed:500,align:'left',
 },$('#sereg_c').html()+ssiDf);
$('#sereg_c').empty();
}
function capucher_dd_c(){
 s = $('.securityCode').val();
 $('#sereg_c').html('<div id="dsdsa_c">'+$('#dsdsa_c').html()+'</div>');
 _uWnd.close('cappae');
setTimeout(function(){
 $('.securityCode').val(s);
$('#addcBut').click();
},2000);
}
</script>
<script type="text/javascript">
function get_ava_ubox(url,param){
 var param = param || 'USER_AVATAR';
 var xml = $.ajax({
 type: 'GET',
 url: url,
 dataType: 'xml',
 async: false
 }).responseText;
 ss = $(xml).find('struct:first member:contains("'+param+'")').find('string').text();
 return ss;
}
ava = get_ava_ubox('/api/index/8');
$('.ava_taroComm').attr('src',(ava == '' ? '/img/no_ava.png' : ava ));
$('#USname').text(get_ava_ubox('/api/index/8','USER_USERNAME'));
</script>